// import Layout from "@/layout";

const EquipInspectionRouter = {
  path: "/equip-inspection",
  component: "Layout",
  redirect: "noRedirect",
  name: "EquipInspection",
  meta: { title: "点检管理", icon: "equip-inspection" },
  children: [
    {
      path: "/temporary-task",
      name: "TemporaryTask",
      component: "equip-inspection/temporary-task/index",
      meta: { title: "临时任务管理", icon: "temporary-task" }
    },
    {
      path: "/inspection-task",
      name: "InspectionTask",
      component: "equip-inspection/inspection-task/index",
      meta: { title: "点检任务管理", icon: "inspection-task" }
    },
    {
      path: "/inspection-task-template",
      name: "InspectionTaskTemplate",
      component: "equip-inspection/inspection-task-template/index",
      meta: { title: "点检任务模板", icon: "inspection-task-template" }
    },
    {
      path: "/inspection-dataitem",
      name: "InspectionDataitem",
      component: "equip-inspection/inspection-dataitem/index",
      meta: { title: "设备点检项", icon: "inspection-dataitem" }
    },
    {
      path: "/inspection-plan",
      name: "InspectionPlan",
      component: "equip-inspection/inspection-plan/index",
      meta: { title: "点检计划管理", icon: "inspection-plan" }
    },
    {
      path: "/inspection-task-record",
      name: "InspectionTaskRecord",
      component: "equip-inspection/inspection-task-record/index",
      meta: { title: "历史点检记录", icon: "repair-history" }
    },
  ]
};

export default EquipInspectionRouter;
